package xiaojun.JAVA.service;

import xiaojun.JAVA.domain.dto.DeptDto;
import xiaojun.JAVA.domain.dto.UserDto;
import xiaojun.JAVA.domain.emtity.Dept;
import xiaojun.JAVA.domain.emtity.User;
import xiaojun.JAVA.domain.vo.Result;

/**
 * 业务层接口-用户
 *
 * @author 赖晓君
 * @since 2025/6/13  10:43
 */
public interface IUserService extends IBaseService<User, UserDto>{

    Result toggle(int id);

    boolean deptInUse(int deptId);

    boolean roleInUse(int roleId);

}
